import React from 'react'
import B from './B';

export default function A() {
  let data = {
    name: '花花',
    action: '吃东西'
  };
  return (
    <div>
      <h2>A</h2>
      <hr />
      {/* B({data: data}) */}
      <B data={data} />
    </div>
  )
}
